package com.ruoyi.unit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存单位管理对象 stock_unit
 * 
 * @author yx
 * @date 2024-12-19
 */
public class StockUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单位id */
    private Integer unitId;

    /** 单位名 */
    @Excel(name = "单位名")
    private String unitName;

    /** 单位备注 */
    @Excel(name = "单位备注")
    private String unitNotes;

    public void setUnitId(Integer unitId) 
    {
        this.unitId = unitId;
    }

    public Integer getUnitId() 
    {
        return unitId;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setUnitNotes(String unitNotes) 
    {
        this.unitNotes = unitNotes;
    }

    public String getUnitNotes() 
    {
        return unitNotes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("unitId", getUnitId())
            .append("unitName", getUnitName())
            .append("unitNotes", getUnitNotes())
            .toString();
    }
}
